package com.chen.model;

import java.util.Date;

public class Invoice {
    private Integer invoice_id;
    private Integer goods_price;
    private Integer goods_number;
    private Integer invoice_state;
    private String invoice_logistics;
    private Goods goods;
    private Contract contract;
    private Date invoice_time;
    private String delivery_company;
    private String addressee;
    private String address;

    public String getDelivery_company() {
        return delivery_company;
    }

    public void setDelivery_company(String delivery_company) {
        this.delivery_company = delivery_company;
    }

    public String getAddressee() {
        return addressee;
    }

    public void setAddressee(String addressee) {
        this.addressee = addressee;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getInvoice_time() {
        return invoice_time;
    }

    public void setInvoice_time(Date invoice_time) {
        this.invoice_time = invoice_time;
    }

    public Integer getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(Integer invoice_id) {
        this.invoice_id = invoice_id;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public Integer getGoods_number() {
        return goods_number;
    }

    public void setGoods_number(Integer goods_number) {
        this.goods_number = goods_number;
    }

    public Integer getInvoice_state() {
        return invoice_state;
    }

    public void setInvoice_state(Integer invoice_state) {
        this.invoice_state = invoice_state;
    }

    public String getInvoice_logistics() {
        return invoice_logistics;
    }

    public void setInvoice_logistics(String invoice_logistics) {
        this.invoice_logistics = invoice_logistics;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Contract getContract() {
        return contract;
    }

    public void setContract(Contract contract) {
        this.contract = contract;
    }

    @Override
    public String toString() {
        return "Invoice{" +
                "invoice_id=" + invoice_id +
                ", goods_price=" + goods_price +
                ", goods_number=" + goods_number +
                ", invoice_state=" + invoice_state +
                ", invoice_logistics='" + invoice_logistics + '\'' +
                ", goods=" + goods +
                ", contract=" + contract +
                ", invoice_time=" + invoice_time +
                ", delivery_company='" + delivery_company + '\'' +
                ", addressee='" + addressee + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
